<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8" import="java.util.*"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ path + "/";

	String mainPage = (String) request.getAttribute("mainPage");
	if (mainPage == null || mainPage.equals(""))
		mainPage = "default.jsp";
%>
<%@ page isELIgnored="false" %>
<html>
<head>
<title>都市信息网</title>
<base href="<%=basePath%>">
<script src="./bootstrap/js/jquery-3.1.1.min.js"></script>

<link type="text/css" rel="stylesheet" href="css/style.css">
</head>
<body background="images/back.gif" onload="inital()">
	<center>
		<table border="0" width="920" cellspacing="0" cellpadding="0"
			bgcolor="white">
			<tr>
				<td colspan="2"><jsp:include page="top.jsp" /></td>
			</tr>
			<tr>
				<td width="230" valign="top" align="center"><jsp:include
						page="left.jsp" /></td>
				<td width="690" height="400" align="center" valign="top"
					bgcolor="#FFFFFF"><jsp:include page="<%=mainPage%>"  flush="true"><jsp:param value='${list}' name="list"/></jsp:include></td>
			</tr>
			<tr>
				<td colspan="2"><%@ include file="end.jsp"%></td>
			</tr>
		</table>
	</center>
</body>
</html>